<template>
  <header class="header">
    <slot name="left"></slot>
    <slot name="center"></slot>
    <slot name="right"></slot>
  </header>
</template>

<script>
  export default {
    name: "HeaderTop",
    props: {},
  }
</script>

<style scoped>
  .header {
    background: url('../../assets/images/bg_menu.png');
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    height: 48px;
    width: 100%;
  }

  .header .header_left {
    position: absolute;
    left: 18px;
    top: 14px;
    width: 10%;
    height: 50%;
  }

  .header .header_left img {
    width: 12px;
    height: 20px;
  }

  .header .header_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    color: #fff;
    text-align: center;
    font-size: 18px;
  }

  .header .header_right {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    right: 14px;
    color: #fff;
    text-align: center;
    font-size: 18px;
  }

</style>
